unsigned char twi_write(unsigned char *msg, unsigned char msg_length);
unsigned char twi_read(unsigned char *msg, unsigned char slave_r, unsigned char msg_length);
void twi_stop();
void send_twi_msg(unsigned char *msg, unsigned char msg_length);